home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
tex-k
/
tex-k-archive.past
/
tex-k-archive.gz
/
tex-k-archive
/
000427_janl@math.uio.no_Thu Mar 24 23:29:03 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-10-11
|
2KB
Received: from pat.uio.no by cs.umb.edu with SMTP id AA25298
(5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Thu, 24 Mar 1994 16:29:27 -0500
Received: from ulrik.uio.no by pat.uio.no with local-SMTP (PP)
id <15423-0@pat.uio.no>; Thu, 24 Mar 1994 22:29:06 +0100
Received: from mnemosyne.uio.no by smaug.uio.no ;
Thu, 24 Mar 1994 22:29:04 +0100
Message-Id: <9403242129.AAsmaug15258@smaug.uio.no>
To: tex-k@cs.umb.edu
Subject:
Date: Thu, 24 Mar 1994 22:29:03 +0100
From: Nicolai Langfeldt <janl@math.uio.no>
The bug Peter Hofmann <peterh@prz.tu-berlin.de> found seem to have
cleared up all the problems I've had with file locating I have
described previously. Since some mailer ate parts of Peter's mail
before it arrived here, and I had to do some 'interpretation' of it,
here is a diff that shows what I did. MANY thanks to Peter!
--- db.c.orig Thu Mar 24 13:08:59 1994
+++ db.c Thu Mar 24 13:09:49 1994
@@ -81,7 +81,7 @@
{
static hash_table_type db;
str_list_type ret;
- string *db_dirs;
+ string *db_dirs, *save_db_dirs;
boolean done = false;
/* Hash up the database if this is the first call. */
@@ -92,7 +92,7 @@
}
/* Look up NAME. */
- db_dirs = hash_lookup (db, name);
+ save_db_dirs = db_dirs = hash_lookup (db, name);
ret = str_list_init (); /* Some old compilers ... */
@@ -116,7 +116,7 @@
}
/* This is just the space for the pointers, not the strings. */
- if (db_dirs && *db_dirs) free (db_dirs);
+ if (db_dirs && *db_dirs) free (save_db_dirs);
return ret;
}
Nicolai
--
Nicolai Langfeldt, janl@math.uio.no
Linux miscellanea, TeX stuff